﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EC2011_hk1_BT6_1041326_1041337_1041373_1041448.MasterPages
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //if(Roles.GetRolesForUser().ToString().Equals("Guest"))           
            if (Request.QueryString["PhongBanID"] == null || int.Parse(Request.QueryString["PhongBanID"]) < 1 || int.Parse(Request.QueryString["PhongBanID"]) > 4)
                Request.QueryString["PhongBanID"] = "" + 1;
        }
    }
}
